package com.ys.io;

import java.io.IOException;
import java.io.InputStream;

/**
 * <p>@description:spring内部定位资源的接口</p>
 *
 * @projectName: Spring-Mini
 * @packageName: com.com.ys.io
 * @className: Resource
 * @author: shuangyang
 * @date: 1/14/17 11:10 PM
 */
public interface Resource {
    /**
     * 通过资源的url获取资源
     *
     * @return
     * @throws IOException
     */
    InputStream getInputStream() throws IOException;
}
